<HTML>
<HEAD>
<TITLE>Create alias</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">
<link rel="stylesheet" href="template/stylesheet.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginheight=0 marginwidth=0 rightmargin=0 bottommargin=0 background="images/back.gif" link="#0000FF" vlink="#0000FF" alink="#0000FF">







<div id="login_header">
<img id="login_header_logo" src="template/images/postbox.png" />
<img id="login_header_logo" src="template/images/postfixadmin2.png" />
</div>
<div id="menu">
<ul>

<TMPL_IF NAME="WELCOME">
  You called as:<b><strong class="yellow1"> <TMPL_VAR NAME="USERSE"> </strong></b> 
  <a href="index.pl?action=logout"><b><strong class="yellow1"> To go out</a></strong></b> 
  </br> </br> </br> </br>
</TMPL_IF>

   <li><a target="_top" href="index.pl">home</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listdomain">Domain List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listvirtual">Virtual List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createdomain">New Domain</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createalias">Add Alias</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createmailbox">Add Mailbox</a></li>
   
      <TMPL_IF NAME="ADMIN_SEE">
   </br> </br> </br> </br>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=logms">Log SimpleMail</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=log">Log MTA</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createadmin">Add Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listadmin">Domain Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=setting">Setting</a></li>
   </TMPL_IF>
   
</ul>
</div>



<div id="edit_form">
<form name="alias" method="post">
<table>

   <TMPL_IF NAME="ALIAS_OFF">
    <tr>
      <td colspan="3" class="standout">The alias off!</br /></td>
    </tr>
   </TMPL_IF>
   
   <TMPL_IF NAME="ALIAS_LIMIT">
    <tr>
      <td colspan="3" class="standout">The alias NO added!</br /></td>
    </tr>
   </TMPL_IF>
   
   <tr>
      <td colspan="3"><h3>Create a new alias for your domain.</h3></td>
   </tr>
         <input type="hidden" name="postfixform" value="createalias2">
   <tr>
      <td>Alias</td>
      <td><input class="flat" type="text" name="fAddress" value="" />

      <TMPL_IF NAME="fA_no_exist">
      <br /><span class="error_msg">This address no exists!</span>
      </TMPL_IF>  
      
      </td>
      <td>
      
         <TMPL_UNLESS "NO_DOMAIN">
    <select class="flat" name="fDomain">
   <TMPL_LOOP NAME="ROWS">
    <option value="<TMPL_VAR NAME="domain">"><TMPL_VAR NAME="domain"></option>
   </TMPL_LOOP>
      </select>
   <TMPL_ELSE>
     <tr>
      <td colspan="3" class="standout"> No Domain... </td>
     </tr>
   </TMPL_UNLESS>
   
   
   
   
   
      
      
      <TMPL_IF NAME="ds_correct">
      <br /><span class="error_msg">This domain no exists!</span>      
      </TMPL_IF>     
     
      <TMPL_IF NAME="fDomain_correct">
      <br /><span class="error_msg">This domain no correct!</span>      
      </TMPL_IF>     
  
          </td>
   </tr>
   <tr>
      <td>To:</td>
      <td><input class="flat" type="text" name="fGoto" value="" />
      
      <TMPL_IF NAME="fGoto_correct">
      <br /><span class="error_msg">The TO is not valid!</span>
      </TMPL_IF>  

      <TMPL_IF NAME="fA_correct">
      <br /><span class="error_msg">This Goto no correct!</span>
      </TMPL_IF>  

      </td>

      <td>Where the mail needs to be send to.</td>
   </tr>
   <tr>
      <td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="Add Alias" /></td>
   </tr>


   <TMPL_IF NAME="alias_added">
    <tr>
      <td colspan="3" class="standout">The alias has been added to the alias table!</br /></td>
    </tr>
    <tr>

   <tr>
    <td colspan="3" class="standout">(<TMPL_VAR NAME="ALIAS"> -> <TMPL_VAR NAME="GOTO">)</td>
   </tr>

      
   </TMPL_IF>




















   <tr>
      <td colspan="3" class="help_text">To create a catch-all use an "*" as alias.<br />For domain to domain forwarding use "*@domain.tld" as to.</td>
   </tr>
</table>
</div>




</table>
<div id="footer">
<a target="_blank" href="http://postfixadmin.com/">Design by Postfixadmin. All rights reserved</a>
</div>





<TR>
		<TD valign="top" bgcolor="#FFFFFF">
     <p align="center"><small><font size="1" face="Verdana">Copyright 2008++ <a target="_blank" href="http://unixforum.org.ua">Simplemail</a>
        . All rights reserved</font></small></p>
       </TD>
	</TR>
</BODY>
</HTML>